package com.imau.servlet;

import java.net.URLDecoder;
import java.net.URLEncoder;

public class Main {
    public static void main(String[] args) throws Exception {

        String name = "管理员";

        String encode = URLEncoder.encode(name, "utf-8");

        System.out.println(encode);

        System.out.println(URLDecoder.decode(encode));

    }
}
